home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / dev / amos / AMCAFExa.lha / AMCAF_Examples / VecRotWireLight.AMOS < prev    next >
AMOS Basic Source Code Archive  |  1996-01-17  |  4.4 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: AMOS Basic Source Code Archive (archive/amosSrc).

You can browse this item here: VecRotWireLight.AMOS

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert AMOS Basic Source Code Archive (archive/amosSrc) magic Supported
100% file AMOS Basic source code, untested default
99% file data default
50% TrID AMOS source (v1.34 Alt) default
49% TrID AMOS source (generic) default
100% gt2 Kopftext: 'AMOS Basic v134 ' default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 4d 4f 53 20 42 61 73 | 69 63 20 76 31 33 34 20 |AMOS Bas|ic v134 |
|00000010| 00 00 11 54 1f 01 06 52 | 00 36 20 2a 2a 2a 2a 2a |...T...R|.6 *****|
|00000020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000040| 20 43 6f 6d 6d 61 6e 64 | 73 20 75 73 65 64 3a 20 | Command|s used: |
|00000050| 00 00 26 01 06 52 00 44 | 20 2a 20 20 20 20 20 20 |..&..R.D| * |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 20 56 | | * V|
|00000080| 65 63 20 52 6f 74 20 50 | 6f 73 20 20 20 20 20 20 |ec Rot P|os |
|00000090| 20 20 54 75 72 62 6f 20 | 44 72 61 77 00 00 28 01 | Turbo |Draw..(.|
|000000a0| 06 52 00 48 20 2a 20 20 | 20 20 20 20 20 20 20 20 |.R.H * | |
|000000b0| 20 41 6d 63 61 66 20 45 | 78 61 6d 70 6c 65 73 20 | Amcaf E|xamples |
|000000c0| 20 20 20 20 20 20 20 20 | 20 2a 20 56 65 63 20 52 | | * Vec R|
|000000d0| 6f 74 20 41 6e 67 6c 65 | 73 20 20 20 20 20 42 6c |ot Angle|s Bl|
|000000e0| 69 74 74 65 72 20 43 6c | 65 61 72 20 00 00 24 01 |itter Cl|ear ..$.|
|000000f0| 06 52 00 40 20 2a 20 20 | 56 65 63 74 6f 72 20 52 |.R.@ * |Vector R|
|00000100| 6f 74 61 74 65 20 57 69 | 72 65 20 2b 20 4c 69 67 |otate Wi|re + Lig|
|00000110| 68 74 20 56 31 2e 30 20 | 20 2a 20 56 65 63 20 52 |ht V1.0 | * Vec R|
|00000120| 6f 74 20 50 72 65 63 61 | 6c 63 20 20 20 20 3d 51 |ot Preca|lc =Q|
|00000130| 73 69 6e 20 00 00 1d 01 | 06 52 00 32 20 2a 20 20 |sin ....|.R.2 * |
|00000140| 20 20 20 20 57 72 69 74 | 74 65 6e 20 62 79 20 43 | Writ|ten by C|
|00000150| 68 72 69 73 20 48 6f 64 | 67 65 73 20 20 20 20 20 |hris Hod|ges |
|00000160| 20 2a 20 3d 56 65 63 20 | 52 6f 74 20 58 20 00 00 | * =Vec |Rot X ..|
|00000170| 1d 01 06 52 00 32 20 2a | 20 20 20 20 20 20 20 20 |...R.2 *| |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 20 20 20 20 20 20 | 20 20 20 2a 20 3d 56 65 | | * =Ve|
|000001a0| 63 20 52 6f 74 20 59 20 | 00 00 1d 01 06 52 00 32 |c Rot Y |.....R.2|
|000001b0| 20 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *******|********|
|000001c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001d0| 2a 2a 2a 2a 2a 2a 20 3d | 56 65 63 20 52 6f 74 20 |****** =|Vec Rot |
|000001e0| 5a 20 00 00 11 01 06 52 | 00 1a 20 20 20 20 20 20 |Z .....R|.. |
|000001f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000200| 20 20 20 20 00 00 13 01 | 06 52 00 1e 20 48 69 64 | ....|.R.. Hid|
|00000210| 65 20 74 68 65 20 64 61 | 6d 6e 20 6d 6f 75 73 65 |e the da|mn mouse|
|00000220| 20 70 6f 69 6e 74 65 72 | 2e 20 00 00 03 01 1d e0 | pointer|. ......|
|00000230| 00 00 1d 01 06 52 00 32 | 20 53 65 74 75 70 20 61 |.....R.2| Setup a|
|00000240| 20 6e 69 63 65 20 6c 69 | 74 74 6c 65 20 73 63 72 | nice li|ttle scr|
|00000250| 65 65 6e 20 77 69 74 68 | 20 64 6f 75 62 6c 65 20 |een with| double |
|00000260| 62 75 66 66 65 72 69 6e | 67 20 00 00 14 01 09 ea |bufferin|g ......|
|00000270| 00 3e 00 00 00 00 00 5c | 00 3e 00 00 01 40 00 5c |.>.....\|.>...@.\|
|00000280| 00 3e 00 00 01 00 00 5c | 00 3e 00 00 00 04 00 5c |.>.....\|.>.....\|
|00000290| 0c 90 00 00 11 01 14 46 | 00 54 0d 34 00 54 13 dc |.......F|.T.4.T..|
|000002a0| 00 3e 00 00 00 00 00 54 | 13 d2 00 3e 00 00 00 01 |.>.....T|...>....|
|000002b0| 00 54 0b ae 00 00 12 01 | 0c fc 00 3e 00 00 00 00 |.T......|...>....|
|000002c0| 00 5c 00 36 00 00 0f ff | 00 5c 00 36 00 00 0a aa |.\.6....|.\.6....|
|000002d0| 00 5c 00 36 00 00 06 66 | 00 00 03 01 01 2c 00 00 |.\.6...f|.....,..|
|000002e0| 06 01 0e 2c 00 3e 00 00 | 00 00 00 00 16 01 06 52 |...,.>..|.......R|
|000002f0| 00 24 20 52 65 61 64 20 | 6f 75 74 2c 20 68 6f 77 |.$ Read |out, how|
|00000300| 20 6d 61 6e 79 20 63 6f | 6f 72 64 73 20 61 72 65 | many co|ords are|
|00000310| 20 75 73 65 64 2e 00 00 | 09 01 04 18 00 06 00 00 | used...|........|
|00000320| 06 00 63 6f 6f 72 64 73 | 00 00 09 01 04 0e 00 06 |..coords|........|
|00000330| 00 00 06 00 6e 75 6d 63 | 6f 00 00 00 25 01 06 52 |....numc|o...%..R|
|00000340| 00 42 20 44 69 6d 20 6f | 6e 65 20 66 69 65 6c 64 |.B Dim o|ne field|
|00000350| 20 74 6f 20 6b 65 65 70 | 20 74 68 65 73 65 20 63 | to keep| these c|
|00000360| 6f 6f 72 64 73 2c 20 61 | 6e 64 20 61 20 73 65 63 |oords, a|nd a sec|
|00000370| 6f 6e 64 20 66 6f 72 20 | 74 68 65 20 72 6f 74 61 |ond for |the rota|
|00000380| 74 65 64 2e 00 00 24 01 | 06 40 00 06 00 00 02 00 |ted...$.|.@......|
|00000390| 63 6f 00 74 00 06 00 00 | 06 00 6e 75 6d 63 6f 00 |co.t....|..numco.|
|000003a0| 00 5c 00 3e 00 00 00 02 | 00 7c 00 5c 00 06 00 00 |.\.>....|.|.\....|
|000003b0| 02 00 72 63 00 74 00 06 | 00 00 06 00 6e 75 6d 63 |..rc.t..|....numc|
|000003c0| 6f 00 00 5c 00 3e 00 00 | 00 02 00 7c 00 00 10 01 |o..\.>..|...|....|
|000003d0| 06 52 00 18 20 4e 6f 77 | 20 72 65 61 64 20 61 6c |.R.. Now| read al|
|000003e0| 6c 20 63 6f 6f 72 64 73 | 20 69 6e 2e 00 00 13 01 |l coords| in.....|
|000003f0| 02 3c 00 00 00 06 00 00 | 02 00 61 00 ff a2 00 3e |.<......|..a....>|
|00000400| 00 00 00 01 00 94 00 06 | 00 00 06 00 6e 75 6d 63 |........|....numc|
|00000410| 6f 00 00 00 2f 03 04 0e | 00 06 00 00 02 00 63 6f |o.../...|......co|
|00000420| 00 74 00 06 00 00 02 00 | 61 00 00 5c 00 3e 00 00 |.t......|a..\.>..|
|00000430| 00 00 00 7c 00 5c 00 06 | 00 00 02 00 63 6f 00 74 |...|.\..|....co.t|
|00000440| 00 06 00 00 02 00 61 00 | 00 5c 00 3e 00 00 00 01 |......a.|.\.>....|
|00000450| 00 7c 00 5c 00 06 00 00 | 02 00 63 6f 00 74 00 06 |.|.\....|..co.t..|
|00000460| 00 00 02 00 61 00 00 5c | 00 3e 00 00 00 02 00 7c |....a..\|.>.....||
|00000470| 00 00 03 01 02 46 00 00 | 1f 01 06 52 00 36 20 54 |.....F..|...R.6 T|
|00000480| 68 65 6e 2c 20 67 65 74 | 20 74 68 65 20 6e 75 6d |hen, get| the num|
|00000490| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 74 68 65 |ber of l|ines the|
|000004a0| 20 6f 62 6a 65 63 74 20 | 63 6f 6e 73 69 73 74 73 | object |consists|
|000004b0| 20 6f 66 2e 00 00 09 01 | 04 18 00 06 00 00 06 00 | of.....|........|
|000004c0| 6c 69 6e 65 73 00 00 00 | 09 01 04 0e 00 06 00 00 |lines...|........|
|000004d0| 06 00 6e 75 6d 6c 69 00 | 00 00 1f 01 06 52 00 36 |..numli.|.....R.6|
|000004e0| 20 44 69 6d 20 61 20 66 | 69 65 6c 64 20 74 6f 20 | Dim a f|ield to |
|000004f0| 68 6f 6c 64 20 74 68 65 | 20 73 74 61 72 74 63 6f |hold the| startco|
|00000500| 6f 72 64 20 61 6e 64 20 | 74 68 65 20 65 6e 64 63 |ord and |the endc|
|00000510| 6f 6f 72 64 2e 20 00 00 | 13 01 06 40 00 06 00 00 |oord. ..|...@....|
|00000520| 02 00 6c 69 00 74 00 06 | 00 00 06 00 6e 75 6d 6c |..li.t..|....numl|
|00000530| 69 00 00 5c 00 3e 00 00 | 00 01 00 7c 00 00 0c 01 |i..\.>..|...|....|
|00000540| 06 52 00 10 20 47 65 74 | 20 74 68 65 20 64 61 74 |.R.. Get| the dat|
|00000550| 61 73 2e 20 00 00 13 01 | 02 3c 00 00 00 06 00 00 |as. ....|.<......|
|00000560| 02 00 61 00 ff a2 00 3e | 00 00 00 01 00 94 00 06 |..a....>|........|
|00000570| 00 00 06 00 6e 75 6d 6c | 69 00 00 00 20 03 04 0e |....numl|i... ...|
|00000580| 00 06 00 00 02 00 6c 69 | 00 74 00 06 00 00 02 00 |......li|.t......|
|00000590| 61 00 00 5c 00 3e 00 00 | 00 00 00 7c 00 5c 00 06 |a..\.>..|...|.\..|
|000005a0| 00 00 02 00 6c 69 00 74 | 00 06 00 00 02 00 61 00 |....li.t|......a.|
|000005b0| 00 5c 00 3e 00 00 00 01 | 00 7c 00 00 03 01 02 46 |.\.>....|.|.....F|
|000005c0| 00 00 26 01 06 52 00 44 | 20 53 65 74 20 74 68 65 |..&..R.D| Set the|
|000005d0| 20 74 68 72 65 65 20 61 | 6e 67 6c 65 73 2e 20 52 | three a|ngles. R|
|000005e0| 65 6d 65 6d 62 65 72 20 | 74 68 61 74 20 74 68 65 |emember |that the|
|000005f0| 73 65 20 61 72 65 20 6e | 6f 6e 20 73 74 61 6e 64 |se are n|on stand|
|00000600| 61 72 64 20 61 6e 67 6c | 65 73 2c 20 00 00 18 01 |ard angl|es, ....|
|00000610| 06 52 00 28 20 6f 6e 65 | 20 66 75 6c 6c 20 72 6f |.R.( one| full ro|
|00000620| 74 61 74 69 6f 6e 20 69 | 73 20 61 74 20 31 30 32 |tation i|s at 102|
|00000630| 34 2c 20 6e 6f 74 20 33 | 36 30 21 20 00 00 1c 01 |4, not 3|60! ....|
|00000640| 00 06 00 00 02 00 61 78 | ff a2 00 3e 00 00 00 00 |......ax|...>....|
|00000650| 00 54 00 06 00 00 02 00 | 61 79 ff a2 00 3e 00 00 |.T......|ay...>..|
|00000660| 02 00 00 54 00 06 00 00 | 02 00 61 7a ff a2 00 3e |...T....|..az...>|
|00000670| 00 00 00 80 00 00 04 01 | 02 50 00 00 00 00 14 03 |........|.P......|
|00000680| 06 52 00 20 20 53 74 61 | 72 74 20 63 6c 65 61 72 |.R. Sta|rt clear|
|00000690| 69 6e 67 20 74 68 65 20 | 66 69 72 73 74 20 70 6c |ing the |first pl|
|000006a0| 61 6e 65 2e 00 00 0c 03 | 00 4e 08 00 12 1c 00 3e |ane.....|.N.....>|
|000006b0| 00 00 00 00 00 5c 00 3e | 00 00 00 00 00 00 28 03 |.....\.>|......(.|
|000006c0| 06 52 00 48 20 57 68 69 | 6c 65 20 74 68 65 20 62 |.R.H Whi|le the b|
|000006d0| 6c 69 74 74 65 72 20 69 | 73 20 77 6f 72 6b 69 6e |litter i|s workin|
|000006e0| 67 2c 20 75 73 65 20 74 | 68 65 20 74 69 6d 65 20 |g, use t|he time |
|000006f0| 74 6f 20 63 61 6c 63 75 | 6c 61 74 65 20 74 68 65 |to calcu|late the|
|00000700| 20 72 6f 74 61 74 69 6f | 6e 73 2e 20 00 00 11 03 | rotatio|ns. ....|
|00000710| 06 52 00 1a 20 4d 6f 76 | 65 20 61 6e 64 20 73 65 |.R.. Mov|e and se|
|00000720| 74 20 74 68 65 20 61 6e | 67 6c 65 73 2e 20 00 00 |t the an|gles. ..|
|00000730| 0b 03 04 58 00 06 00 00 | 02 00 61 78 00 5c 00 3e |...X....|..ax.\.>|
|00000740| 00 00 00 0a 00 00 0b 03 | 04 58 00 06 00 00 02 00 |........|.X......|
|00000750| 61 79 00 5c 00 3e 00 00 | 00 10 00 00 0b 03 04 58 |ay.\.>..|.......X|
|00000760| 00 06 00 00 02 00 61 7a | 00 5c 00 3e 00 00 00 13 |......az|.\.>....|
|00000770| 00 00 13 03 00 4e 08 00 | 11 38 00 06 00 00 02 00 |.....N..|.8......|
|00000780| 61 78 00 5c 00 06 00 00 | 02 00 61 79 00 5c 00 06 |ax.\....|..ay.\..|
|00000790| 00 00 02 00 61 7a 00 00 | 28 03 06 52 00 48 20 43 |....az..|(..R.H C|
|000007a0| 61 6c 63 75 6c 61 74 65 | 20 74 68 65 20 64 69 73 |alculate| the dis|
|000007b0| 74 61 6e 63 65 73 20 62 | 79 20 75 73 69 6e 67 20 |tances b|y using |
|000007c0| 61 20 73 69 6e 65 2d 66 | 75 6e 63 74 69 6f 6e 20 |a sine-f|unction |
|000007d0| 61 6e 64 20 74 68 65 20 | 74 68 72 65 65 20 61 6e |and the |three an|
|000007e0| 67 6c 65 73 2e 20 00 00 | 15 03 00 06 00 00 04 00 |gles. ..|........|
|000007f0| 70 6f 73 78 ff a2 00 4e | 08 00 11 06 00 74 00 06 |posx...N|.....t..|
|00000800| 00 00 02 00 61 78 00 5c | 00 3e 00 00 01 2c 00 7c |....ax.\|.>...,.||
|00000810| 00 00 15 03 00 06 00 00 | 04 00 70 6f 73 79 ff a2 |........|..posy..|
|00000820| 00 4e 08 00 11 06 00 74 | 00 06 00 00 02 00 61 79 |.N.....t|......ay|
|00000830| 00 5c 00 3e 00 00 01 2c | 00 7c 00 00 19 03 00 06 |.\.>...,|.|......|
|00000840| 00 00 04 00 70 6f 73 7a | ff a2 00 4e 08 00 11 06 |....posz|...N....|
|00000850| 00 74 00 06 00 00 02 00 | 61 7a 00 5c 00 3e 00 00 |.t......|az.\.>..|
|00000860| 01 f4 00 7c ff c0 00 3e | 00 00 05 dc 00 00 11 03 |...|...>|........|
|00000870| 06 52 00 1a 20 53 65 74 | 20 74 68 65 20 63 61 6d |.R.. Set| the cam|
|00000880| 65 72 61 20 70 6f 73 69 | 74 69 6f 6e 73 2e 00 00 |era posi|tions...|
|00000890| 16 03 00 4e 08 00 11 22 | 00 06 00 00 04 00 70 6f |...N..."|......po|
|000008a0| 73 78 00 5c 00 06 00 00 | 04 00 70 6f 73 79 00 5c |sx.\....|..posy.\|
|000008b0| 00 06 00 00 04 00 70 6f | 73 7a 00 00 17 03 06 52 |......po|sz.....R|
|000008c0| 00 26 20 4e 6f 77 20 69 | 74 27 73 20 74 69 6d 65 |.& Now i|t's time|
|000008d0| 20 74 6f 20 63 6f 6d 70 | 75 74 65 20 74 68 65 20 | to comp|ute the |
|000008e0| 6d 61 74 72 69 78 2e 20 | 00 00 05 03 00 4e 08 00 |matrix. |.....N..|
|000008f0| 11 52 00 00 20 03 06 52 | 00 38 20 4e 6f 77 20 74 |.R.. ..R|.8 Now t|
|00000900| 68 65 20 62 6c 69 74 74 | 65 72 20 73 68 6f 75 6c |he blitt|er shoul|
|00000910| 64 20 62 65 20 72 65 61 | 64 79 20 74 6f 20 64 6f |d be rea|dy to do|
|00000920| 20 74 68 65 20 6f 74 68 | 65 72 20 70 6c 61 6e 65 | the oth|er plane|
|00000930| 2e 20 00 00 0c 03 00 4e | 08 00 12 1c 00 3e 00 00 |. .....N|.....>..|
|00000940| 00 00 00 5c 00 3e 00 00 | 00 01 00 00 1d 03 06 52 |...\.>..|.......R|
|00000950| 00 32 20 53 6f 20 6c 65 | 74 27 73 20 72 6f 74 61 |.2 So le|t's rota|
|00000960| 74 65 20 61 6c 6c 20 63 | 6f 6f 72 64 69 6e 61 74 |te all c|oordinat|
|00000970| 65 73 20 6f 66 20 74 68 | 65 20 66 69 65 6c 64 20 |es of th|e field |
|00000980| 43 4f 28 29 00 00 13 03 | 02 3c 00 00 00 06 00 00 |CO()....|.<......|
|00000990| 02 00 61 00 ff a2 00 3e | 00 00 00 01 00 94 00 06 |..a....>|........|
|000009a0| 00 00 06 00 6e 75 6d 63 | 6f 00 00 00 27 05 06 52 |....numc|o...'..R|
|000009b0| 00 46 20 4e 6f 74 65 3a | 20 59 6f 75 20 6f 6e 6c |.F Note:| You onl|
|000009c0| 79 20 68 61 76 65 20 74 | 6f 20 75 73 65 20 74 68 |y have t|o use th|
|000009d0| 65 20 76 65 63 20 72 6f | 74 20 66 75 6e 63 74 69 |e vec ro|t functi|
|000009e0| 6f 6e 20 77 69 74 68 20 | 70 61 72 61 6d 65 74 65 |on with |paramete|
|000009f0| 72 73 20 6f 6e 63 65 2e | 00 00 46 05 00 06 00 00 |rs once.|..F.....|
|00000a00| 02 00 72 63 00 74 00 06 | 00 00 02 00 61 00 00 5c |..rc.t..|....a..\|
|00000a10| 00 3e 00 00 00 00 00 7c | ff a2 00 4e 08 00 11 68 |.>.....||...N...h|
|00000a20| 00 74 00 06 00 00 02 00 | 63 6f 00 74 00 06 00 00 |.t......|co.t....|
|00000a30| 02 00 61 00 00 5c 00 3e | 00 00 00 00 00 7c 00 5c |..a..\.>|.....|.\|
|00000a40| 00 06 00 00 02 00 63 6f | 00 74 00 06 00 00 02 00 |......co|.t......|
|00000a50| 61 00 00 5c 00 3e 00 00 | 00 01 00 7c 00 5c 00 06 |a..\.>..|...|.\..|
|00000a60| 00 00 02 00 63 6f 00 74 | 00 06 00 00 02 00 61 00 |....co.t|......a.|
|00000a70| 00 5c 00 3e 00 00 00 02 | 00 7c 00 7c ff c0 00 3e |.\.>....|.|.|...>|
|00000a80| 00 00 00 a0 00 00 18 05 | 00 06 00 00 02 00 72 63 |........|......rc|
|00000a90| 00 74 00 06 00 00 02 00 | 61 00 00 5c 00 3e 00 00 |.t......|a..\.>..|
|00000aa0| 00 01 00 7c ff a2 00 4e | 08 00 11 84 ff c0 00 3e |...|...N|.......>|
|00000ab0| 00 00 00 80 00 00 1a 05 | 00 06 00 00 02 00 72 63 |........|......rc|
|00000ac0| 00 74 00 06 00 00 02 00 | 61 00 00 5c 00 3e 00 00 |.t......|a..\.>..|
|00000ad0| 00 02 00 7c ff a2 00 4e | 08 00 11 c4 ff ca 00 06 |...|...N|........|
|00000ae0| 00 00 04 00 70 6f 73 7a | 00 00 03 03 02 46 00 00 |....posz|.....F..|
|00000af0| 1d 03 06 52 00 32 20 49 | 74 27 73 20 74 69 6d 65 |...R.2 I|t's time|
|00000b00| 20 74 6f 20 66 69 6e 61 | 6c 6c 79 20 67 65 74 20 | to fina|lly get |
|00000b10| 74 68 65 20 6c 69 6e 65 | 73 20 74 6f 20 74 68 65 |the line|s to the|
|00000b20| 20 73 63 72 65 65 6e 21 | 00 00 13 03 02 3c 00 00 | screen!|.....<..|
|00000b30| 00 06 00 00 02 00 61 00 | ff a2 00 3e 00 00 00 01 |......a.|...>....|
|00000b40| 00 94 00 06 00 00 06 00 | 6e 75 6d 6c 69 00 00 00 |........|numli...|
|00000b50| 12 05 06 52 00 1c 20 53 | 74 61 72 74 69 6e 67 20 |...R.. S|tarting |
|00000b60| 63 6f 6f 72 64 69 6e 61 | 74 65 73 20 70 61 69 72 |coordina|tes pair|
|00000b70| 2e 20 00 00 15 05 00 06 | 00 00 02 00 63 31 ff a2 |. ......|....c1..|
|00000b80| 00 06 00 00 02 00 6c 69 | 00 74 00 06 00 00 02 00 |......li|.t......|
|00000b90| 61 00 00 5c 00 3e 00 00 | 00 00 00 7c 00 00 11 05 |a..\.>..|...|....|
|00000ba0| 06 52 00 1a 20 45 6e 64 | 69 6e 67 20 63 6f 6f 72 |.R.. End|ing coor|
|00000bb0| 64 69 6e 61 74 65 73 20 | 70 61 69 72 2e 20 00 00 |dinates |pair. ..|
|00000bc0| 15 05 00 06 00 00 02 00 | 63 32 ff a2 00 06 00 00 |........|c2......|
|00000bd0| 02 00 6c 69 00 74 00 06 | 00 00 02 00 61 00 00 5c |..li.t..|....a..\|
|00000be0| 00 3e 00 00 00 01 00 7c | 00 00 12 05 06 52 00 1c |.>.....||.....R..|
|00000bf0| 20 47 65 74 20 74 68 65 | 20 72 6f 74 61 74 65 64 | Get the| rotated|
|00000c00| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 00 00 29 05 | coordin|ates..).|
|00000c10| 00 06 00 00 02 00 78 31 | ff a2 00 06 00 00 02 00 |......x1|........|
|00000c20| 72 63 00 74 00 06 00 00 | 02 00 63 31 00 5c 00 3e |rc.t....|..c1.\.>|
|00000c30| 00 00 00 00 00 7c 00 54 | 00 06 00 00 02 00 79 31 |.....|.T|......y1|
|00000c40| ff a2 00 06 00 00 02 00 | 72 63 00 74 00 06 00 00 |........|rc.t....|
|00000c50| 02 00 63 31 00 5c 00 3e | 00 00 00 01 00 7c 00 00 |..c1.\.>|.....|..|
|00000c60| 29 05 00 06 00 00 02 00 | 78 32 ff a2 00 06 00 00 |).......|x2......|
|00000c70| 02 00 72 63 00 74 00 06 | 00 00 02 00 63 32 00 5c |..rc.t..|....c2.\|
|00000c80| 00 3e 00 00 00 00 00 7c | 00 54 00 06 00 00 02 00 |.>.....||.T......|
|00000c90| 79 32 ff a2 00 06 00 00 | 02 00 72 63 00 74 00 06 |y2......|..rc.t..|
|00000ca0| 00 00 02 00 63 32 00 5c | 00 3e 00 00 00 01 00 7c |....c2.\|.>.....||
|00000cb0| 00 00 22 05 06 52 00 3c | 20 43 61 6c 63 75 6c 61 |.."..R.<| Calcula|
|00000cc0| 74 65 20 64 69 73 74 61 | 6e 63 65 20 28 73 69 6d |te dista|nce (sim|
|00000cd0| 70 6c 65 20 77 61 79 29 | 20 75 73 69 6e 67 20 62 |ple way)| using b|
|00000ce0| 6f 74 68 20 5a 20 63 6f | 6f 72 64 69 6e 61 74 65 |oth Z co|ordinate|
|00000cf0| 73 2e 20 20 00 00 24 05 | 00 06 00 00 02 00 64 00 |s. ..$.|......d.|
|00000d00| ff a2 00 06 00 00 02 00 | 72 63 00 74 00 06 00 00 |........|rc.t....|
|00000d10| 02 00 63 31 00 5c 00 3e | 00 00 00 02 00 7c ff c0 |..c1.\.>|.....|..|
|00000d20| 00 06 00 00 02 00 72 63 | 00 74 00 06 00 00 02 00 |......rc|.t......|
|00000d30| 63 32 00 5c 00 3e 00 00 | 00 02 00 7c 00 00 19 05 |c2.\.>..|...|....|
|00000d40| 06 52 00 2a 20 53 65 74 | 20 62 72 69 67 68 74 6e |.R.* Set| brightn|
|00000d50| 65 73 73 20 61 63 63 6f | 72 64 69 6e 67 20 74 6f |ess acco|rding to|
|00000d60| 20 74 68 65 20 64 69 73 | 74 61 6e 63 65 2e 00 00 | the dis|tance...|
|00000d70| 0a 05 00 06 00 00 02 00 | 63 00 ff a2 00 3e 00 00 |........|c....>..|
|00000d80| 00 03 00 00 15 05 02 be | 00 00 00 06 00 00 02 00 |........|........|
|00000d90| 64 00 ff ac 00 3e 00 00 | 00 00 02 c6 00 06 00 00 |d....>..|........|
|00000da0| 02 00 63 00 ff a2 00 3e | 00 00 00 02 00 00 16 05 |..c....>|........|
|00000db0| 02 be 00 00 00 06 00 00 | 02 00 64 00 ff ac ff ca |........|..d.....|
|00000dc0| 00 3e 00 00 00 64 02 c6 | 00 06 00 00 02 00 63 00 |.>...d..|......c.|
|00000dd0| ff a2 00 3e 00 00 00 01 | 00 00 1d 05 00 4e 08 00 |...>....|.....N..|
|00000de0| 10 16 00 06 00 00 02 00 | 78 31 00 5c 00 06 00 00 |........|x1.\....|
|00000df0| 02 00 79 31 00 94 00 06 | 00 00 02 00 78 32 00 5c |..y1....|....x2.\|
|00000e00| 00 06 00 00 02 00 79 32 | 00 5c 00 06 00 00 02 00 |......y2|.\......|
|00000e10| 63 00 00 00 03 03 02 46 | 00 00 1b 03 06 52 00 2e |c......F|.....R..|
|00000e20| 20 53 77 61 70 20 74 68 | 65 20 73 63 72 65 65 6e | Swap th|e screen|
|00000e30| 73 20 74 6f 20 62 72 69 | 6e 67 20 74 68 65 20 6f |s to bri|ng the o|
|00000e40| 62 6a 65 63 74 20 74 6f | 20 76 69 65 77 2e 00 00 |bject to| view...|
|00000e50| 03 03 0a e2 00 00 03 03 | 0c ca 00 00 11 01 02 5c |........|.......\|
|00000e60| 00 f2 ff a2 05 52 00 74 | 00 3e 00 00 00 1b 00 7c |.....R.t|.>.....||
|00000e70| ff 4c 1e 32 ff 66 00 3e | 00 00 00 00 00 00 06 01 |.L.2.f.>|........|
|00000e80| 0a 04 00 3e 00 00 00 00 | 00 00 03 01 03 b6 00 00 |...>....|........|
|00000e90| 0a 01 06 52 00 0c 20 20 | 31 5f 5f 5f 5f 5f 32 20 |...R.. |1_____2 |
|00000ea0| 20 20 00 00 09 01 06 52 | 00 0a 20 35 2f 5f 5f 5f | .....R|.. 5/___|
|00000eb0| 5f 2f 7c 20 00 00 09 01 | 06 52 00 0a 20 7c 20 7c |_/| ....|.R.. | ||
|00000ec0| 20 20 7c 36 7c 20 00 00 | 0a 01 06 52 00 0c 20 7c | |6| ..|...R.. ||
|00000ed0| 34 7c 5f 5f 7c 5f 7c 33 | 20 20 00 00 08 01 06 52 |4|__|_|3| .....R|
|00000ee0| 00 08 20 7c 2f 5f 5f 5f | 7c 2f 00 00 08 01 06 52 |.. |/___||/.....R|
|00000ef0| 00 08 20 38 20 20 20 20 | 37 20 00 00 08 01 00 0c |.. 8 |7 ......|
|00000f00| 00 00 06 00 63 6f 6f 72 | 64 73 00 00 07 03 04 04 |....coor|ds......|
|00000f10| 00 00 00 3e 00 00 00 08 | 00 00 07 01 06 52 00 06 |...>....|.....R..|
|00000f20| 20 43 55 42 45 20 00 00 | 12 03 04 04 00 00 ff ca | CUBE ..|........|
|00000f30| 00 3e 00 00 00 64 00 5c | ff ca 00 3e 00 00 00 64 |.>...d.\|...>...d|
|00000f40| 00 5c ff ca 00 3e 00 00 | 00 64 00 00 11 03 04 04 |.\...>..|.d......|
|00000f50| 00 00 00 3e 00 00 00 64 | 00 5c ff ca 00 3e 00 00 |...>...d|.\...>..|
|00000f60| 00 64 00 5c ff ca 00 3e | 00 00 00 64 00 00 10 03 |.d.\...>|...d....|
|00000f70| 04 04 00 00 00 3e 00 00 | 00 64 00 5c ff ca 00 3e |.....>..|.d.\...>|
|00000f80| 00 00 00 64 00 5c 00 3e | 00 00 00 64 00 00 11 03 |...d.\.>|...d....|
|00000f90| 04 04 00 00 ff ca 00 3e | 00 00 00 64 00 5c ff ca |.......>|...d.\..|
|00000fa0| 00 3e 00 00 00 64 00 5c | 00 3e 00 00 00 64 00 00 |.>...d.\|.>...d..|
|00000fb0| 11 03 04 04 00 00 ff ca | 00 3e 00 00 00 64 00 5c |........|.>...d.\|
|00000fc0| 00 3e 00 00 00 64 00 5c | ff ca 00 3e 00 00 00 64 |.>...d.\|...>...d|
|00000fd0| 00 00 10 03 04 04 00 00 | 00 3e 00 00 00 64 00 5c |........|.>...d.\|
|00000fe0| 00 3e 00 00 00 64 00 5c | ff ca 00 3e 00 00 00 64 |.>...d.\|...>...d|
|00000ff0| 00 00 0f 03 04 04 00 00 | 00 3e 00 00 00 64 00 5c |........|.>...d.\|
|00001000| 00 3e 00 00 00 64 00 5c | 00 3e 00 00 00 64 00 00 |.>...d.\|.>...d..|
|00001010| 10 03 04 04 00 00 ff ca | 00 3e 00 00 00 64 00 5c |........|.>...d.\|
|00001020| 00 3e 00 00 00 64 00 5c | 00 3e 00 00 00 64 00 00 |.>...d.\|.>...d..|
|00001030| 02 00 00 00 08 01 00 0c | 00 00 06 00 6c 69 6e 65 |........|....line|
|00001040| 73 00 00 00 07 03 04 04 | 00 00 00 3e 00 00 00 0c |s.......|...>....|
|00001050| 00 00 07 01 06 52 00 06 | 20 43 55 42 45 20 00 00 |.....R..| CUBE ..|
|00001060| 0b 03 04 04 00 00 00 3e | 00 00 00 01 00 5c 00 3e |.......>|.....\.>|
|00001070| 00 00 00 02 00 00 0b 03 | 04 04 00 00 00 3e 00 00 |........|.....>..|
|00001080| 00 02 00 5c 00 3e 00 00 | 00 03 00 00 0b 03 04 04 |...\.>..|........|
|00001090| 00 00 00 3e 00 00 00 03 | 00 5c 00 3e 00 00 00 04 |...>....|.\.>....|
|000010a0| 00 00 0b 03 04 04 00 00 | 00 3e 00 00 00 04 00 5c |........|.>.....\|
|000010b0| 00 3e 00 00 00 01 00 00 | 0b 03 04 04 00 00 00 3e |.>......|.......>|
|000010c0| 00 00 00 05 00 5c 00 3e | 00 00 00 06 00 00 0b 03 |.....\.>|........|
|000010d0| 04 04 00 00 00 3e 00 00 | 00 06 00 5c 00 3e 00 00 |.....>..|...\.>..|
|000010e0| 00 07 00 00 0b 03 04 04 | 00 00 00 3e 00 00 00 07 |........|...>....|
|000010f0| 00 5c 00 3e 00 00 00 08 | 00 00 0b 03 04 04 00 00 |.\.>....|........|
|00001100| 00 3e 00 00 00 08 00 5c | 00 3e 00 00 00 05 00 00 |.>.....\|.>......|
|00001110| 0b 03 04 04 00 00 00 3e | 00 00 00 01 00 5c 00 3e |.......>|.....\.>|
|00001120| 00 00 00 05 00 00 0b 03 | 04 04 00 00 00 3e 00 00 |........|.....>..|
|00001130| 00 02 00 5c 00 3e 00 00 | 00 06 00 00 0b 03 04 04 |...\.>..|........|
|00001140| 00 00 00 3e 00 00 00 03 | 00 5c 00 3e 00 00 00 07 |...>....|.\.>....|
|00001150| 00 00 0b 03 04 04 00 00 | 00 3e 00 00 00 04 00 5c |........|.>.....\|
|00001160| 00 3e 00 00 00 08 00 00 | 41 6d 42 73 00 00 |.>......|AmBs.. |
+--------+-------------------------+-------------------------+--------+--------+